@import 'variables';

competition-detail {
  seed-tab .seed-tab {
    a {
      padding: 0;
    }
  }
  .info-wrap {
    .seed-scroll-content {
      padding-bottom: 7rem;
    }
  }
  header {
    padding-top: pxTorem(36);
    padding-bottom: pxTorem(20);
    background-color: color($h5, c10);
    .title {
      display: flex;
      align-items: center;
      margin-bottom: pxTorem(32);
      padding: 0 pxTorem(24);
      font-weight: bold;
      font-size: standard($f, f14);
      color: color($h5, c2);
      button {
        margin-left: pxTorem(14);
        font-size: standard($f, f8);
        color: color($h5, c1);
      }
    }
    .basic-info {
      padding: 0 pxTorem(24);
      .basic-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: pxTorem(32);
        .user-info {
          display: flex;
          align-items: center;
          font-size: standard($f, f3);
          color: color($h5, c2);
          margin-right: auto;
          .info-text {
            display: flex;
            align-items: left;
            flex-direction: column;
            line-height: 1;
          }
          time {
            font-size: standard($f, f6);
            color: color($h5, c4);
            margin-top: pxTorem(16);
          }
        }
        seed-avatar {
          width: pxTorem(70);
          height: pxTorem(70);
        }
        .avatar {
          width: pxTorem(60);
          height: pxTorem(60);
          margin-right: pxTorem(20);
          border-radius: 50%;
        }
        .share {
          color: color($h5, c4);
          font-size: standard($f, f6);
          display: flex;
          align-items: center;
          i {
            @include icon(44, 44, '#{$icons-path}/play_share@2x.png');
            margin-right: pxTorem(10);
          }
        }
      }
      .basic-content {
        padding: pxTorem(20);
        font-size: standard($f, f6);
        color: color($h5, c13);
        background-color: rgba(65, 146, 243, 0.08);
        li {
          // display: flex;
          overflow: hidden;
          margin-bottom: pxTorem(12);
          &:last-of-type {
            margin-bottom: 0;
          }
          em {
            float: left;
          }
          p {
            overflow: hidden;
            text-align: justify;
          }
        }
      }
    }
  }
  .seed-tab {
    position: relative;
    z-index: 11;
    line-height: pxTorem(88) !important;
    background-color: color($h5, c10);
    &:after {
      border-top: 1px solid color($h5, c9);
    }
    .seed-tab-title {
      &.active:before {
        left: 0;
        right: 0;
        bottom: pxTorem(6);
        height: pxTorem(4);
        width: pxTorem(14);
        margin: auto;
        font-size: standard($f, f3);
      }
    }
  }
  aside {
    //分组
    position: absolute;
    top: 0;
    left: 0;
    overflow-y: scroll;
    height: 100%;
    width: 20%;
    background-color: color($h5, c9);
    &::-webkit-scrollbar {
      // width: 0;
      display: none;
    }
    .group {
      text-align: center;
    }
    li {
      display: block;
      height: pxTorem(88);
      line-height: pxTorem(88);
      font-size: standard($f, f6);
      color: color($h5, c2);
    }
    .active {
      color: color($h5, c1);
      background-color: color($h5, c10);
    }
  }
  .fixed {
    .seed-tab {
      position: fixed;
      z-index: 11;
      top: 0;
      left: 0;
      width: 100%;
    }
    .match-shim-block {
      height: pxTorem(166);
    }
    .default-shim-block {
      height: pxTorem(88);
    }
    //aside,
    .group-filter {
      position: fixed;
      top: pxTorem(86);
    }
  }
  .seed-default-graph {
    padding-top: pxTorem(118) !important;
    padding-bottom: pxTorem(56);
    background-color: color($h5, c10);
  }
  .event-detail-position {
    z-index: 8;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    overflow: scroll;
    bottom: 0;
    left: 0;
    padding: pxTorem(20) pxTorem(30);
    border-top: 1px solid color($h5, c9);
    background: color($h5, c10);
    .event-apply {
      width: 100%;
      border-radius: pxTorem(4);
      box-sizing: border-box;
      height: pxTorem(90);
      line-height: pxTorem(90);
      @include font-dpr(30px);
      text-align: center;
    }
    .event-ing {
      background: color($h5, c1);
      color: color($h5, c10);
    }
    .event-playing {
      background: #FEBD4D;
      color: color($h5, c10);
    }
    .event-end {
      color: color($h5, c4);
      background: color($h5, c9);
    }
    .event-pre {
      color: color($h5, c10);
      background: #89D035;
    }
  }
  .match-people {
    -webkit-transform: translateZ(0);
    //*zoom:1;
    z-index: 11;
    opacity: 1;
    overflow: scroll;
    position: fixed;
    width: pxTorem(90px);
    height: pxTorem(90px);
    right: pxTorem(20px);
    bottom: pxTorem(240px);
    transition: all 1S ease-out 0s;
    @include icon(90, 90, '#{$icons-path}/many_people.png');
  }
}
